package internal

import (
	"github.com/chenwbyx/leafserver/server/game/internal/room"
	"github.com/chenwbyx/leafserver/server/msg/client"
	"reflect"
)

func init() {
	handler(&client.UserLoginReq{}, room.HandleGameLogin)
}

func handler(m interface{}, h interface{}) {
	skeleton.RegisterChanRPC(reflect.TypeOf(m), h)
}
